package com.zhongxi.guoyuan.OffLineShop.Model;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/4/9.
 */

public class SuccessPay implements Serializable{
    public int code;
    public BaseResult safeobj;
    public SuccessOrder order;
    public ItemShopInfo store;
    public String myredbean;
    public Comment comment;

   public static class SuccessOrder implements Serializable{
        public String id;
        public String storeid;
        public String storediscount;
        public String shouldprice;
        public String payprice;
        public String backredbean;
        public String backinnernum;
        public String backcashnum;
        public String cashratio;
        public String shopimage;
        public String userid;
        public int scene;
        public String ctime;

   }

    public static class Comment implements Serializable{
       public int starlevel;
       public String content;
       public String ctime;
       public int status;  // 评论后的状态

        @Override
        public String toString() {
            return "Comment{" +
                    "starlevel=" + starlevel +
                    ", content='" + content + '\'' +
                    ", ctime='" + ctime + '\'' +
                    ", status=" + status +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SuccessPay{" +
                "code=" + code +
                ", safeobj=" + safeobj +
                ", order=" + order +
                ", store=" + store +
                ", myredbean='" + myredbean + '\'' +
                ", comment=" + comment +
                '}';
    }
}
